package com.nxxskj.alcohol.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.nxxskj.alcohol.bean.Record;
import com.nxxskj.alcohol.bean.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;


@Mapper
@Repository
public interface RecordMapper extends BaseMapper<Record> {
    List<Record> getdealListByUser(@Param("user") User user);

    int getWaitDealRecordCount(@Param("user") User user);

}
